package day11.tarena.com;
import java.util.*;
public class TestStringBuilder {
		public static String getReverse(String c){
				return new StringBuilder(c).reverse().toString();
		}
		
		public static void main(String[] args) {
			System.out.println("请输入你的字符串：");
			Scanner sca = new Scanner(System.in);					
			String a = sca.next();
			System.out.println(a);				
			for (int i=0; i<10; i++){
			StringBuilder b=new StringBuilder(a);		
			//System.out.println("请输入你要追加的数字:");
			//String a1 = sca.next();
					b.append(i);
			String c= b.toString();
				System.out.print(c);
//			StringBuffer c1 =new StringBuffer(c);
//			System.out.println(c1.reverse()+"\n");
			}

		}

}
